package work.mediway.mdm.biz.mapper.biz;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

import work.mediway.mdm.biz.entity.biz.SsModelInfo;

@Mapper
public interface SsModelInfoMapper extends BaseMapper<SsModelInfo> {

    /**
     * 获取字典消息信息
     *
     * @param page        Page<SsModelInfo>
     * @param ssModelInfo SsModelInfo
     * @return List<SsModelInfo>
     */
    List<SsModelInfo> getByModelInfo(Page<SsModelInfo> page, @Param("ssModelInfo") SsModelInfo ssModelInfo);

    /**
     * 查询典消息所有列表
     *
     * @param page Page<SsModelInfo>
     * @return List<SsModelInfo>
     */
    List<SsModelInfo> listModelInfoAll(Page<SsModelInfo> page);
}